<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>伪类选择器3</title>
	<style>
		*{margin:0;padding:0}
		div{
			width:300px;
			height: 430px;
			background:url('images/06/bg.jpg');
			margin:100px auto;
		}
		div:hover{
			background:url('images/06/hover.jpg');
		}
		div:active{
			border:10px solid black;
		}
	</style>
</head>
<body>
	<div></div>
</body>
</html>